<template>

  <div class="radio-recommand-list-item">
    <div class="list-item" v-for="(item,index) in list" :key="index">
      <div class="left">
        <img :src="item.picUrl" alt="">
      </div>
      <div class="right">
        <div class="right_top">
          <p>{{item.copywriter}}</p>
        </div>
        <div class="right_bottom">
          <p>{{item.name}}</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
    export default {
        name: "RadioRecommandListItem",
        props:{
            list:{
                type:Array,
                default(){
                    return[]
                }
            }
        },

    }
</script>

<style scoped>
  .radio-recommand-list-item{
    width: 100%;
  }

  .list-item{
    width: 100%;
    height: 80px;
    position: relative;
    margin-bottom: 20px;
    background-color: #f5f5f5;
  }

  .left{
    position: absolute;
    left: 10px;
    width: 80px;
    height: 80px;
    border-radius: 10px;
  }

  .left img{
    width: 80px;
    height: 80px;
    border-radius: 10px;
  }

  .right{
    position: absolute;
    height: 80px;
    right: 10px;
    left: 100px;
  }

  .right_top{
    position: absolute;
    top: 5px;
    left: 0px;
    font-size: 14px;
    color: black;
    font-weight: 500;
  }

  .right_bottom{
    position: absolute;
    bottom: 10px;
    left: 0px;
    font-size: 12px;
  }


</style>